//
//  ViewController.m
//  LGVideoNavigationPro
//
//  Created by dangwc on 2019/9/18.
//  Copyright © 2019 dangwc. All rights reserved.
//

#import "ViewController.h"
#import "IEAppointCarouselView.h"
#import <Masonry/Masonry.h>

@interface ViewController ()

@property (nonatomic,strong) IEAppointCarouselView *carouseView;

@end

@implementation ViewController

-(IEAppointCarouselView *)carouseView{
    if (!_carouseView) {
        _carouseView = [[IEAppointCarouselView alloc] init];
        _carouseView.isAutoScroll = NO;
        _carouseView.clickedHandle = ^{
            NSLog(@"立即体验");
        };
    }
    return _carouseView;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    [self.view addSubview:self.carouseView];
    [self.carouseView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.edges.mas_equalTo(0);
    }];
}


@end
